import Request from "../utils/request"

const request = new Request().http
export function getTeacherList(data) {
  return request({
    url: "api/school/teacher/getTeacherList", //请求头
    method: "post", //请求方式
    data: data //请求数据
  })
}

export function saveTeacherState(data) {
  return request({
    url: "api/school/teacher/saveTeacherState", //请求头
    method: "post", //请求方式
    data: data //请求数据
  })
}

export function getTeacherDetail(data) {
  return request({
    url: "api/school/teacher/getTeacherDetail", //请求头
    method: "post", //请求方式
    data: data //请求数据
  })
}

export function addTeacher(data) {
  return request({
    url: "api/school/teacher/addTeacher", //请求头
    method: "post", //请求方式
    data: data //请求数据
  })
}

export function getPlanList(data) {
  return request({
    url: "api/school/teacher/getPlanList", //请求头
    method: "post", //请求方式
    data: data //请求数据
  })
}
export function saveTeacher(data) {
  return request({
    url: "api/school/teacher/saveTeacher", //请求头
    method: "post", //请求方式
    data: data //请求数据
  })
}

export function delTeacher(data) {
  return request({
    url: "api/school/teacher/delTeacher", //请求头
    method: "post", //请求方式
    data: data //请求数据
  })
}
export function addPlan(data) {
  return request({
    url: "api/school/teacher/addPlan", //请求头
    method: "post", //请求方式
    data: data //请求数据
  })
}
export function savePlan(data) {
  return request({
    url: "api/school/teacher/savePlan", //请求头
    method: "post", //请求方式
    data: data //请求数据
  })
}
export function getPlanDetail(data) {
  return request({
    url: "api/school/teacher/getPlanDetail", //请求头
    method: "post", //请求方式
    data: data //请求数据
  })
}
export function delPlan(data) {
  return request({
    url: "api/school/teacher/delPlan", //请求头
    method: "post", //请求方式
    data: data //请求数据
  })
}

export function getSchoolTeacherList(data) {
  return request({
    url: "api/school/teacher/getSchoolTeacherList", //请求头
    method: "post", //请求方式
    data: data //请求数据
  })
}
export function getSchoolUserList(data) {
  return request({
    url: "api/school/teacher/getSchoolUserList", //请求头
    method: "post", //请求方式
    data: data //请求数据
  })
}
export function getTeacherPlanList(data) {
  return request({
    url: "api/school/teacher/getTeacherPlanList", //请求头
    method: "post", //请求方式
    data: data //请求数据
  })
}

export function getTeacherPlanDetail(data) {
  return request({
    url: "api/school/teacher/getTeacherPlanDetail", //请求头
    method: "post", //请求方式
    data: data //请求数据
  })
}
